Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Adding and Subtracting Points and Vectors


Q3Param2D_Vector2D_Subtract

You can use the Q3Param2D_Vector2D_Subtract function to subtract a two-dimensional vector from a two-dimensional parametric point.

TQ3Param2D *Q3Param2D_Vector2D_Subtract (
const TQ3Param2D *param2D, 
const TQ3Vector2D *vector2D, 
TQ3Param2D *result);
param2D
A two-dimensional parametric point.
vector2D
A two-dimensional vector.
result
On exit, a two-dimensional parametric point that is the result of subtracting vector2D from param2D.
DESCRIPTION
The Q3Param2D_Vector2D_Subtract function returns, as its function result and in the result parameter, the two-dimensional parametric point that is the result of subtracting the vector vector2D from the point param2D.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996